export default {
  increment(state) {
    state.counter++
  },
  decrement(state) {
    state.counter--
  },
  // 外部传参
  incrementCounter(state, num) {
    state.counter += num
  },
  updateInfo(state) {
    state.name = 'skobell'
  }
}
